<%-- 
    Document   : creditcard
    Created on : May 6, 2011, 1:29:38 PM
    Author     : alexnewski
--%>

<%@page import="java.util.Date"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>

<%@include file="headerv.html"%>

<%
    int idshow = (Integer) request.getAttribute("idshow");
    int numseats = (Integer) request.getAttribute("numseats");
    Long datebook = (Long) request.getAttribute("datebook");
%>


<%=datebook%>
<form method="POST" name="creditcard" action="dispatcher?operation=book" onSubmit="return testCreditCard()"> 
    <input type="hidden" name="idshow" value="<%=Integer.toString(idshow)%>" size="15" />
    <input type="hidden" name="numseats" value="<%=Integer.toString(numseats)%>" size="15" />
    <input type="hidden" name="datebook" value="<%=Long.toString(datebook)%>" size="15" />
    <p style="margin-top: 10px;"><span style="color: #ff0000; margin-left: 20px;">Select credit card:</span> 
        <select tabindex="11" name="CardType" id="CardType" style="margin-left: 10px;"> 
            <option value="AmEx">American Express</option> 
            <option value="CarteBlanche">Carte Blanche</option> 
            <option value="DinersClub">Diners Club</option> 
            <option value="Discover">Discover</option> 
            <option value="EnRoute">enRoute</option> 
            <option value="JCB">JCB</option> 
            <option value="Maestro">Maestro</option> 
            <option value="MasterCard">MasterCard</option> 
            <option value="Solo">Solo</option> 
            <option value="Switch">Switch</option> 
            <option value="Visa">Visa</option> 
            <option value="VisaElectron">Visa Electron</option> 
            <option value="LaserCard">Laser</option> 
        </select> 
        <span style="color: #ff0000; margin-left: 20px;">Enter number:
            <input type="text" name="CardNumber" id="CardNumber" maxlength="24" size="24" style="margin-left: 10px;" /> 
            <input type="submit" value="Accept" class="button"/>
        </span></p> 
</form> 

<%@include file="footer.html"%>
